package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author zheng.li
 * @version v1.0
 * @date 2019/5/22 13:39
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ImportCoverFormDataDTO extends BaseDTO {

    @NotNull(message = "应用id不能为空")
    private Long appId;

    @NotNull(message = "表单id不能为空")
    private Long formId;

    @NotNull(message = "菜单id不能为空")
    private Long menuId;

    /**
     * SaaS标志
     *
     * @see com.xbongbong.pro.enums.SaasMarkEnum
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer saasMark;

    /**
     * Saas业务类型，详见
     *
     * @see com.xbongbong.saas.enums.XbbRefTypeEnum
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;

    /**
     * Saas子业务类型，详见
     *
     * @see com.xbongbong.saas.enums.XbbRefTypeEnum
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer subBusinessType;

}
